<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class Speechcraft extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('speechcraft', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->string('name',40)->comment('名称');
            $table->string('description',100)->comment('描述');
            $table->unsignedBigInteger('industry_id')->default(0)->comment('行业ID');
            $table->tinyInteger('status')->default(0)->comment('状态：0测试，1上线,上线后话术相关禁止修改');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('speechcraft');
    }
}
